package com.gz.springcloud.service;

import com.gz.springcloud.entity.Member;
import com.gz.springcloud.entity.Result;
import org.springframework.stereotype.Component;

@Component
public class MemberFeignFallbackService implements MemberOpenFeignService {

    @Override
    public Result getMemberById(Long id) {
        return Result.error("500", "被调用服务异常, 熔断降级, 快速返回结果,防止线程堆积..");
    }
}
